﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    /// <summary>
    /// 顶格
    /// </summary>
    public partial class Digg
    {
        public Digg()
        {
            DiggDiarys = new List<DiggDiary>();
        }

        public int Id { get; set; }
        public int ContentId { get; set; }
        public int GoodNum { get; set; }
        public int BadNum { get; set; }
        public string LastUserName { get; set; }
        public System.DateTime LastDiggDate { get; set; }

        public virtual Core Core { get; set; }
        public virtual ICollection<DiggDiary> DiggDiarys { get; set; }
    }
}